<template>
    <h2 style="text-align: center;">欢迎{{result}}</h2>
</template>

<script setup lang="ts">

import { useRoute } from 'vue-router';

const route = useRoute();

var result = route.query.username;
</script>